void CDialogCommon::OnOpenButton() 
{
	// TODO: Add your control notification handler code here
	//һCFileDialog󣬲ĸʽ
	CFileDialog cdlg(true,NULL,NULL,OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT,
		"text file(*.txt)|*.txt|All file(*.*)|*.*||",this);
	if(cdlg.DoModal() == IDOK)//OKť
	{
		//ļԻȡļʾı
		GetDlgItem(IDC_EDIT)->SetWindowText(cdlg.GetPathName());
	}
}
